﻿using MultipleDB.Entitys;
using PineLake.Drmwe.Lib.ResultMsg;
using PineLake.Entitys.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MultipleDB.IServices.Basara
{
    /// <summary>
    /// 接口
    /// </summary>
    public interface IAccountInfo_Services : IBaseServices<AccountInfo>
    {

        /// <summary>
        /// 添加 
        /// </summary>
        /// <param name="AddModel"> Dto</param>
        /// <returns></returns>
        Task<ActionResultMsg> AddAsync(Add_AccountInfo_Dto AddModel);

        /// <summary>
        /// 修改 
        /// </summary>
        /// <param name="ModifyModel"> Dto</param>
        /// <returns></returns>
        Task<ActionResultMsg> ModifyAsync(Modify_AccountInfo_Dto ModifyModel);

        /// <summary>
        /// 通过Id删除 
        /// </summary>
        /// <param name="DeleteDto">ID Dto</param>
        /// <returns></returns>
        Task<ActionResultMsg> DeleteAsync(Delete_AccountInfo_ByIdDto DeleteDto);

        /// <summary>
        /// 获取实体
        /// </summary>
        /// <param name="GetDto">ID Dto </param>
        /// <returns></returns>
        Task<ActionResultMsg> GetAsync(Get_AccountInfo_ByIdDto GetDto);
    }
}
